﻿#include "connectwithserver.h"

ConnectWithServer::ConnectWithServer(SOCKET sockCli)
{
    this->sockCli = sockCli;
}
void ConnectWithServer::run(){
    char buf[1000];
    while(true){
        recv(sockCli, buf, 100, 0);
        Message* m = (Message*)buf;
        switch(m->messageType){
            case 2:
                break;
            default:
                break;
        }
    }
}
